﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace FrameCase
{
    [TestClass]
    public class TestCase
    {
        [TestMethod]
        public void Case()
        {
            Test t= new Test();
            t.Num = 1;
            int s = 1;
            TestC c = new TestC();
            c.NumChange(t,s);
            Console.WriteLine(t.Num);
            Console.WriteLine(s);
        }

    }

    public class Test
    {
        public int Num { get; set; }
    }

    public class TestC
    {
        public void NumChange(Test num,int s)
        {
            num.Num = 5;
            s = 5;
        }
    }
}

